<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/jsp/admintop.jsp"%>
<%@ include file="/jsp/jscommom.jsp"%>
<%@ include file="/jsp/viewtop.jsp"%>

<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>修改职位信息</title>
		<link href="/css/login.css" rel="stylesheet" type="text/css" />
	</head>
	<script type="text/javascript">
	function domethod(){
	document.all.method.value="approve";
	document.forms[0].submit();
	document.all.method.value="";
	}
	function refuse(){
	if(document.all.refuseType.value==""){
	alert("拒绝信息不能为空");
	return;
	}
	document.all.method.value="refuse";
	document.forms[0].submit();
	document.all.method.value="";
	}
	</script>
	<%
	String applyId = request.getParameter("applyId");
	%>
	<body>
		<html:form action="/system/admin/copormanage/approvecorporapply"
			method="post">
			<html:hidden property="method" />
			<html:hidden property="appDate" />
			<input type="hidden" name="applyId" value="<%=applyId%>" />
			<div align="center">
				<table width="880" border="0" align="center" cellpadding="0"
				cellspacing="1" class="line1">
					<tr>
						<td class="titlebg" colspan="4">
							<bean:write name="/system/admin/copormanage/approvecorporapply"
								property="corporName" />
						</td>


					</tr>

					<tr>
						<td class="mtdtitle1">
							申请日期：
						</td>
						<td class="mtdtextleft">
							<bean:write name="/system/admin/copormanage/approvecorporapply"
								property="appDate" format="yyyy-MM-dd" />
						</td>

						<td class="mtdtitle1">
							申请时间：
						</td>
						<td class="mtdtextleft">
							<html:select property="appTime">
								<html:option value="0">全天</html:option>
								<html:option value="1">上午</html:option>
								<html:option value="2">下午</html:option>
							</html:select>
						</td>
					</tr>

					<tr>
						<td class="mtdtitle1" colspan="4">
							<input type="button" class="tbutton1" value="批准"
								onclick="domethod()" />
							<input type="button" class="tbutton1" value="拒绝"
								onclick="refuse()" />
							<html:select property="refuseType" styleClass="input1">
								<option value="">
									请选择拒绝理由
								</option>
								<option value="2">
									无空位
								</option>
								<option value="3">
									不通过
								</option>
								<option></option>
							</html:select>
						</td>
					</tr>
					
					<tr>
					<td class="mtdtextcenterwrite" colspan="4">
					&nbsp;
					</td>
					</tr>
					<tr>
						<td colspan="4" class="titlebg">

							招聘信息
						</td>
					</tr>

					<tr>
						<td colspan="4" width="100%">
							<table class="mtdtextleft" width="100%" height="300">
								<tr>
									<td valign="top" class="mtdtextleft">
										<bean:write
											name="/system/admin/copormanage/approvecorporapply"
											property="recruitContent" filter="false"/>
									</td>
								</tr>
							</table>

						</td>
					</tr>



				</table>
			</div>
		</html:form>

	</body>
</html>
